<?php

namespace app\admin\validate;

use think\Validate;

class RoutesValidate extends Validate
{
    protected $rule = [
        'url|路由'       =>  'require',
        'method|请求方法'     => 'require',
    ];

    protected $scene = [
        'add' => ['url', 'method'],
    ];

}